<template>
    <div>
        {{ didNav }}
        <p v-for="i in list2" :key="i.id" @click="sonFn(i.id)">{{ i.phone }}</p>
    </div>
</template>

<script>
export default {
    props: ['list2'],
    data() {
        return {
            didNav: 'didNav',
            didson:'son====='
        };
    },
    mounted() {
        console.log(this.$parent.list);
    },
    methods: {
        sonFun(){
            console.log('son-----');
        },
        sonFn(i){
            console.log('son2+++++++',i);
            this.$emit("sonFnc",i)
        },
    },
    components: {

    },
};
</script>

<style scoped>
</style>
